package com.czxy.candidates.feign;

import com.czxy.domain.TbCity;
import com.czxy.findjob.vo.BaseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "enterprise-service",path = "/city")
public interface CityFeign {
    @GetMapping("/findById/{id}")
    public BaseResult<TbCity> findById(@PathVariable("id") Integer id);
}
